package com.questetra.bpms.air.model
{
    public class Workitem
    {
        public function Workitem()
        {
        }

        private var _id:Number;

        //ProcessModelの情報
        private var _processModelInfoId:Number;
        private var _processModelInfoName:String;
        private var _processModelVersion:Number;

        private var _nodeNumber:Number;
        private var _nodeName:String;

        private var _swimlaneType:String;

        //ProcessInstanceの情報
        private var _processInstanceId:Number;
        private var _processInstanceState:String;
        private var _processInstanceTitle:String;

        private var _processInstanceStartDatetime:Date;
        private var _processInstanceEndDatetime:Date;

        private var _processInstanceInitQgroupId:Number;
        private var _processInstanceInitQgroupName:String;
        private var _processInstanceInitQuserId:Number;
        private var _processInstanceInitQuserName:String;

        //Workitemの情報
        private var _state:String;

        private var _startDatetime:Date;
        private var _offerDatetime:Date;
        private var _allocateDatetime:Date;
        private var _endDatetime:Date;
        private var _timeLimitDatetime:Date;

        private var _allocatedQgroupId:Number;
        private var _allocatedQgroupName:String;
        private var _allocatedQuserId:Number;
        private var _allocatedQuserName:String;


        public function set id(value:Number):void
        {
            this._id = value;
        }
        public function get id():Number
        {
            return this._id;
        }

        public function set processModelInfoId(value:Number):void
        {
            this._processModelInfoId = value;
        }
        public function get processModelInfoId():Number
        {
            return this._processModelInfoId;
        }
        public function set processModelInfoName(value:String):void
        {
            this._processModelInfoName = value;
        }
        public function get processModelInfoName():String
        {
            return this._processModelInfoName;
        }
        public function set processModelVersion(value:Number):void
        {
            this._processModelVersion = value;
        }
        public function get processModelVersion():Number
        {
            return this._processModelVersion;
        }

        public function set nodeNumber(value:Number):void
        {
            this._nodeNumber = value;
        }
        public function get nodeNumber():Number
        {
            return this._nodeNumber;
        }
        public function set nodeName(value:String):void
        {
            this._nodeName = value;
        }
        public function get nodeName():String
        {
            return this._nodeName;
        }

        public function set swimlaneType(value:String):void
        {
            this._swimlaneType = value;
        }
        public function get swimlaneType():String
        {
            return this._swimlaneType;
        }

        public function set processInstanceId(value:Number):void
        {
            this._processInstanceId = value;
        }
        public function get processInstanceId():Number
        {
            return this._processInstanceId;
        }
        public function set processInstanceState(value:String):void
        {
            this._processInstanceState = value;
        }
        public function get processInstanceState():String
        {
            return this._processInstanceState;
        }
        public function set processInstanceTitle(value:String):void
        {
            this._processInstanceTitle = value;
        }
        public function get processInstanceTitle():String
        {
            return this._processInstanceTitle;
        }

        public function set processInstanceStartDatetime(value:Date):void
        {
            this._processInstanceStartDatetime = value;
        }
        public function get processInstanceStartDatetime():Date
        {
            return this._processInstanceStartDatetime;
        }
        public function set processInstanceEndDatetime(value:Date):void
        {
            this._processInstanceEndDatetime = value;
        }
        public function get processInstanceEndDatetime():Date
        {
            return this._processInstanceEndDatetime;
        }

        public function set processInstanceInitQgroupId(value:Number):void
        {
            this._processInstanceInitQgroupId = value;
        }
        public function get processInstanceInitQgroupId():Number
        {
            return this._processInstanceInitQgroupId;
        }
        public function set processInstanceInitQgroupName(value:String):void
        {
            this._processInstanceInitQgroupName = value;
        }
        public function get processInstanceInitQgroupName():String
        {
            return this._processInstanceInitQgroupName;
        }
        public function set processInstanceInitQuserId(value:Number):void
        {
            this._processInstanceInitQuserId = value;
        }
        public function get processInstanceInitQuserId():Number
        {
            return this._processInstanceInitQuserId;
        }
        public function set processInstanceInitQuserName(value:String):void
        {
            this._processInstanceInitQuserName = value;
        }
        public function get processInstanceInitQuserName():String
        {
            return this._processInstanceInitQuserName;
        }

        public function set state(value:String):void
        {
            this._state = value;
        }
        public function get state():String
        {
            return this._state;
        }

        public function set startDatetime(value:Date):void
        {
            this._startDatetime = value;
        }
        public function get startDatetime():Date
        {
            return this._startDatetime;
        }
        public function set offerDatetime(value:Date):void
        {
            this._offerDatetime = value;
        }
        public function get offerDatetime():Date
        {
            return this._offerDatetime;
        }
        public function set allocateDatetime(value:Date):void
        {
            this._allocateDatetime = value;
        }
        public function get allocateDatetime():Date
        {
            return this._allocateDatetime;
        }
        public function set endDatetime(value:Date):void
        {
            this._endDatetime = value;
        }
        public function get endDatetime():Date
        {
            return this._endDatetime;
        }
        public function set timeLimitDatetime(value:Date):void
        {
            this._timeLimitDatetime = value;
        }
        public function get timeLimitDatetime():Date
        {
            return this._timeLimitDatetime;
        }

        public function set allocatedQgroupId(value:Number):void
        {
            this._allocatedQgroupId = value;
        }
        public function get allocatedQgroupId():Number
        {
            return this._allocatedQgroupId;
        }
        public function set allocatedQgroupName(value:String):void
        {
            this._allocatedQgroupName = value;
        }
        public function get allocatedQgroupName():String
        {
            return this._allocatedQgroupName;
        }
        public function set allocatedQuserId(value:Number):void
        {
            this._allocatedQuserId = value;
        }
        public function get allocatedQuserId():Number
        {
            return this._allocatedQuserId;
        }
        public function set allocatedQuserName(value:String):void
        {
            this._allocatedQuserName = value;
        }
        public function get allocatedQuserName():String
        {
            return this._allocatedQuserName;
        }
    }
}